
package org.soaism.journey.service.entities;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "driver")
public class Driver {
	private long idnr;
	private String firstName;
	private String lastName;
	private String nick;

	@XmlElement
	public void setIdnr(long idnr) {
		this.idnr = idnr;
	}
	
	public long getIdnr() {
		return idnr;
	}

	@XmlElement
	public String getFirstName() {
		return this.firstName;
	}
	
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	@XmlElement
	public String getLastName() {
		return this.lastName;
	}
	
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	@XmlElement
	public String getNick() {
		return this.nick;
	}
	
	public void setNick(String nick) {
		this.nick = nick;
	}
	
}
